Datapolis Process System SDK
Datapolis Process System Lookup Fields
Datapolis Process System contains special Lookup Fields that are very helpful during workflow creation. In general, lookup fields acts as a link to the particular data source used by a workflow. The lookup field could be represented as a link to given SharePoint Web, List or another SharePoint object or Datapolis Process System Parameter.
Attributes
Each Lookup Field includes following attributes:
Examples
This section provides examples on using lookups in activity development and workflows creation process.
Selecting list
This example shows how to limit lookup nodes so only SharePoint list or library can be selected.
As the result following options are only visible in Datapolis Process System Designer :
Choosing site template
This example shows how to limit lookup nodes so only site, language and site template can be selected. 'Create web site' uses the same configuration.
On lookup tree there will be only site collections and sites visible. When particular site or site collection is chosen it will provide Id to the activity (SPWeb.ID) (see Site).
Only nodes of type WebTemplateLanguage are visible and can be selected. The difference between this parameter and previous parameters is selected RootPath. This attributes selects the root node of lookup tree. It takes selected path from ParentWebUrl (the '@' means that this part of path is lookup from another parameter) and combines it with '/WebParameterCollection/WebTemplateCollection/'. In ParentWebUrl we could choose only web so in lookup tree will be shown web templates of selected web - as on the provided image. When particular WebTemplateLanguage is selected it will provide LCID to the activity (SPWeb.Locale.LCID) - see Language
See Site templates for more information about site templates nodes structure. The difference between this parameter and previous parameters is selected RootPath. RootPath contains only WebLanguage. WebTemplate is a child node of a WebLanguage so it has to be configured in this way - see WebTemplate. When particular WebTemplate is selected it will provide template name to the activity (SPWebTemplate.Name).